package com.etone.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.etone.common.annotation.Excel;
import com.etone.common.core.domain.BaseEntity;

/**
 * 保存等待执行任务对象 six_freetask
 *
 * @author etone
 * @date 2025-07-02
 */
public class SixFreetask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 空闲任务主键 */
    private Long id;

    /** 任务类型0-入库；2-加急;3-其他 */
    @Excel(name = "任务类型0-入库；2-加急;3-其他")
    private String type;

    /** 任务模版 */
    @Excel(name = "任务模版")
    private String taskModeltype;

    /** 物料信息 */
    @Excel(name = "物料信息")
    private String wuliaoInfo;

    /** 起点 */
    @Excel(name = "起点")
    private String startp;

    /** 终点 */
    @Excel(name = "终点")
    private String endp;

    /** 货架号 */
    @Excel(name = "货架号")
    private String huojia;

    /** 行程信息1 */
    @Excel(name = "行程信息1")
    private String startText;

    /** 行程信息2 */
    @Excel(name = "行程信息2")
    private String endText;

    /**
     * 是否正在执行过程中  0-否；1-是
     * */
    private String tasking;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setTaskModeltype(String taskModeltype)
    {
        this.taskModeltype = taskModeltype;
    }

    public String getTaskModeltype()
    {
        return taskModeltype;
    }
    public void setWuliaoInfo(String wuliaoInfo)
    {
        this.wuliaoInfo = wuliaoInfo;
    }

    public String getWuliaoInfo()
    {
        return wuliaoInfo;
    }
    public void setStartp(String startp)
    {
        this.startp = startp;
    }

    public String getStartp()
    {
        return startp;
    }
    public void setEndp(String endp)
    {
        this.endp = endp;
    }

    public String getEndp()
    {
        return endp;
    }
    public void setHuojia(String huojia)
    {
        this.huojia = huojia;
    }

    public String getHuojia()
    {
        return huojia;
    }
    public void setStartText(String startText)
    {
        this.startText = startText;
    }

    public String getStartText()
    {
        return startText;
    }
    public void setEndText(String endText)
    {
        this.endText = endText;
    }

    public String getEndText()
    {
        return endText;
    }

    public String getTasking() {
        return tasking;
    }

    public void setTasking(String tasking) {
        this.tasking = tasking;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("taskModeltype", getTaskModeltype())
            .append("wuliaoInfo", getWuliaoInfo())
            .append("startp", getStartp())
            .append("endp", getEndp())
            .append("huojia", getHuojia())
            .append("startText", getStartText())
            .append("endText", getEndText())
            .append("createTime", getCreateTime())
            .toString();
    }
}
